﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MaxLeaf.Common;
using MaxLeaf.DB;
using System.Data.Common;
using System.Data;
using System.Data.SqlClient;
using MySql.Data.MySqlClient;
using System.Transactions;
using System.Collections;

namespace MaxLeaf.DAL.K3
{
    public class ICStockBillDAL : MaxLeaf.DAL.BaseDALBuilder.IDALAction
    {
        Web.OeSalesOrderDAL.FromType mFromType = new Web.OeSalesOrderDAL.FromType();
        public void Add(DBAccess dbWebCon, DBAccess dbCon, string strKeyValue)
        {
            mFromType = Web.OeSalesOrderDAL.FromType.ICStockBill;
            new K3.OeSalesOrderDAL().Add(dbWebCon, dbCon, strKeyValue, mFromType);
        }
        public void Update(DBAccess dbWebCon, DBAccess dbCon, string strKeyValue)
        {
            mFromType = Web.OeSalesOrderDAL.FromType.ICStockBill;
            new K3.OeSalesOrderDAL().Update(dbWebCon, dbCon, strKeyValue, mFromType);
        }
        public void Delete(DBAccess dbWebCon, DBAccess dbCon, string strKeyValue)
        {
            mFromType = Web.OeSalesOrderDAL.FromType.ICStockBill;
            new K3.OeSalesOrderDAL().Delete(dbWebCon, dbCon, strKeyValue, mFromType);
        }
    }
}
